package com.ruicar.afs.cloud.basic.proceeds.pay.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.basic.proceeds.pay.entity.BasicPaymentPool;
import com.ruicar.afs.cloud.basic.proceeds.pay.entity.BasicPaymentRecord;
import com.ruicar.afs.cloud.common.modules.contract.enums.PaymentRecordEnum;
import com.ruicar.afs.cloud.common.modules.contract.enums.PaymentStatusEnum;

/**
 * @author: Lee
 * @date 2020-05-30 04:34:35 
 * @description 
 */
public interface BasicPaymentRecordService extends IService<BasicPaymentRecord> {


    /**
     * 付款发送成功，新增付款记录
     * @author ZC.GUO
     * @param paymentPool 付款池
     * @param status 状态
     * @param paymentStatus 付款状态
     * @return
     */
    public BasicPaymentRecord addPaymentRecord(BasicPaymentPool paymentPool, PaymentRecordEnum status, PaymentStatusEnum paymentStatus);

}
